package com.jml.AOP004.责任链通知005.interceptor.impl;

import com.jml.AOP004.责任链通知005.interceptor.MethodInterceptor;
import com.jml.AOP004.责任链通知005.invocation.MethodInvocation;

public class AroundMethodInterceptor implements MethodInterceptor {
	
	@Override
    public void invoke(MethodInvocation methodInvocation) throws Exception {
		System.out.println("环绕通知在目标方法之前执行..");
		methodInvocation.process();
		System.out.println("环绕通知在目标方法之后执行..");
	}
}
